local function cover(src, data)
  for k, v in pairs(data) do
    if type(v) == 'table' then
      cover(src[k], v)
    else
      src[k] = v
    end
  end
end

return cover